<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title><?php echo $title; ?></title>

    <!-- Bootstrap Core CSS -->
    <link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="sb2/vendor/metisMenu/metisMenu.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="sb2/dist/css/sb-admin-2.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="sb2/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">菜单</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <img alt="" src="img/people.png" class="img-circle" width="50" height="50">
                <a class="navbar-brand" href="<?php echo $_url; ?>"><?php echo $title; ?>(登录321次)</a>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-envelope fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-messages">
                        <li>
                            <a href="#">
                                <div>
                                    <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                                </div>
                                <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                                </div>
                                <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <strong>John Smith</strong>
                                    <span class="pull-right text-muted">
                                        <em>Yesterday</em>
                                    </span>
                                </div>
                                <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eleifend...</div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>全部信息</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-messages -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-tasks fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-tasks">
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 1</strong>
                                        <span class="pull-right text-muted">40% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                                            <span class="sr-only">40% Complete (success)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 2</strong>
                                        <span class="pull-right text-muted">20% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">
                                            <span class="sr-only">20% Complete</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 3</strong>
                                        <span class="pull-right text-muted">60% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                            <span class="sr-only">60% Complete (warning)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <p>
                                        <strong>Task 4</strong>
                                        <span class="pull-right text-muted">80% Complete</span>
                                    </p>
                                    <div class="progress progress-striped active">
                                        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
                                            <span class="sr-only">80% Complete (danger)</span>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>See All Tasks</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-tasks -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-bell fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-alerts">
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-comment fa-fw"></i> New Comment
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-twitter fa-fw"></i> 3 New Followers
                                    <span class="pull-right text-muted small">12 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-envelope fa-fw"></i> Message Sent
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-tasks fa-fw"></i> New Task
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="#">
                                <div>
                                    <i class="fa fa-upload fa-fw"></i> Server Rebooted
                                    <span class="pull-right text-muted small">4 minutes ago</span>
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a class="text-center" href="#">
                                <strong>See All Alerts</strong>
                                <i class="fa fa-angle-right"></i>
                            </a>
                        </li>
                    </ul>
                    <!-- /.dropdown-alerts -->
                </li>
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>徐秀峰 <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="javascript:navObj.userinfo();"><i class="fa fa-user fa-fw"></i> 用户信息</a>
                        </li>
                        <li><a href="javascript:navObj.setting();"><i class="fa fa-gear fa-fw"></i> 设置</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="<?php echo $_url; ?>out"><i class="fa fa-sign-out fa-fw"></i> 安全退出</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                        <li class="sidebar-search">
                            <div class="input-group custom-search-form">
                                <input type="text" class="form-control" placeholder="搜索...">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="button">
                                        <i class="fa fa-search"></i>
                                    </button>
                                </span>
                            </div>
                            <!-- /input-group -->
                        </li>
                                                <li>
                           	<a href="/?admin" ><i class="fa fa-edit fa-fw"></i> 首页</a>
                        </li>
                                                <li>
                           	<a href="/?sysUserManager" ><i class="fa fa-table fa-fw"></i> 用户管理</a>
                        </li>
                                                <li>
                           	<a href="/?sysQxManager" ><i class="fa fa-fw fa-dashboard"></i> 权限管理</a>
                        </li>
                                                <li>
                           	<a href="/?groupManager" ><i class="fa fa-fw fa-dashboard"></i> 群组管理</a>
                        </li>
                                                <li>
                           	<a href="/?wBook" ><i class="fa fa-bar-chart-o fa-fw"></i> 教职工通讯录</a>
                        </li>
                                                <li>
                           	<a href="/?toDoPrivate" ><i class="fa fa-sitemap fa-fw"></i> 私人待办事项</a>
                        </li>
                                                <li>
                           	<a href="/?upSchoolRoll" ><i class="fa fa-wrench fa-fw"></i> 学生信息上传</a>
                        </li>
                                                <li>
                           	<a href="/?schoolRollManager" ><i class="fa fa-wrench fa-fw"></i> 学生信息管理</a>
                        </li>
                                                <li>
                           	<a href="/?stuEventManager" ><i class="fa fa-wrench fa-fw"></i> 学生事务管理</a>
                        </li>
                                            </ul>
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>    
<!-- DataTables Responsive CSS -->
    <link href="sb2/vendor/datatables-responsive/dataTables.responsive.css" rel="stylesheet">
        <!-- Page Content -->
        <div id="page-wrapper">
            <div class="container-fluid">
                <div class="row">
                <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            个人待办事项管理
                            <button id=build type=button class='btn btn-success' data-toggle='modal'  onclick='append()'><span class='glyphicon glyphicon-plus' aria-hidden='true'></span>添加</button>&nbsp;                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <table width="100%" class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <thead>
                                    <tr>
                                        <th>剩余天数</th>
                                        <th>内容</th>
                                        <th>截止时间</th>
                                        <th>添加时间</th>
                                        <th>事件等级</th>
                                    <th>操作</th>                                    </tr>
                                </thead>
                                <tbody>
                                	                                    <tr class=" gradeA" id='6'>
                                    	<td>-316</td>
                                        <td><a href='javascript:update(6)'>改作业发下去，14级9班</a></td>
                                        <td>2016-11-06</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(6)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='7'>
                                    	<td>-319</td>
                                        <td><a href='javascript:update(7)'>通知明天办好离校手续，后天运动会完成后放学</a></td>
                                        <td>2016-11-03</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(7)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='8'>
                                    	<td>-273</td>
                                        <td><a href='javascript:update(8)'>国旗下讲话（安全伴随你我）</a></td>
                                        <td>2016-12-19</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(8)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='9'>
                                    	<td>-319</td>
                                        <td><a href='javascript:update(9)'>教研活动第二次</a></td>
                                        <td>2016-11-03</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(9)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='11'>
                                    	<td>-292</td>
                                        <td><a href='javascript:update(11)'>曾红绿卡补办</a></td>
                                        <td>2016-11-30</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(11)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='13'>
                                    	<td>-300</td>
                                        <td><a href='javascript:update(13)'>416后面渗水问题处理#已无渗水</a></td>
                                        <td>2016-11-22</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(13)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='14'>
                                    	<td>-316</td>
                                        <td><a href='javascript:update(14)'>照教师资格证并填写网上档案</a></td>
                                        <td>2016-11-06</td>
                                        <td>2016-11-02</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(14)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='22'>
                                    	<td>-287</td>
                                        <td><a href='javascript:update(22)'>1剪纸美工2手抄报3摄影比赛安排</a></td>
                                        <td>2016-12-05</td>
                                        <td>2016-11-22</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(22)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='23'>
                                    	<td>-296</td>
                                        <td><a href='javascript:update(23)'>班级艺术节节目安排</a></td>
                                        <td>2016-11-26</td>
                                        <td>2016-11-22</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(23)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='24'>
                                    	<td>-296</td>
                                        <td><a href='javascript:update(24)'>整理学籍，制定学习计划</a></td>
                                        <td>2016-11-26</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(24)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='25'>
                                    	<td>-267</td>
                                        <td><a href='javascript:update(25)'>补完这个学期的所有教案</a></td>
                                        <td>2016-12-25</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(25)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='26'>
                                    	<td>-276</td>
                                        <td><a href='javascript:update(26)'>学生的在校证明办理并寄送</a></td>
                                        <td>2016-12-16</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(26)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='27'>
                                    	<td>-270</td>
                                        <td><a href='javascript:update(27)'>平安夜班级活动</a></td>
                                        <td>2016-12-22</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(27)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='28'>
                                    	<td>-297</td>
                                        <td><a href='javascript:update(28)'>收拾桌子</a></td>
                                        <td>2016-11-25</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(28)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='29'>
                                    	<td>-276</td>
                                        <td><a href='javascript:update(29)'>每个学生的资料整理并写评语</a></td>
                                        <td>2016-12-16</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(29)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='30'>
                                    	<td>-269</td>
                                        <td><a href='javascript:update(30)'>软考证书下来时间</a></td>
                                        <td>2016-12-23</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(30)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='31'>
                                    	<td>-291</td>
                                        <td><a href='javascript:update(31)'>专业教学计划制定</a></td>
                                        <td>2016-12-01</td>
                                        <td>2016-11-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(31)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='32'>
                                    	<td>-287</td>
                                        <td><a href='javascript:update(32)'>开教研会，分配事务，如1补齐教研活动记录，2收集学校大小问题，3制作活动讲解ppt</a></td>
                                        <td>2016-12-05</td>
                                        <td>2016-12-03</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(32)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='33'>
                                    	<td>-278</td>
                                        <td><a href='javascript:update(33)'>期末考试试卷安排和编写</a></td>
                                        <td>2016-12-14</td>
                                        <td>2016-12-03</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(33)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='34'>
                                    	<td>-286</td>
                                        <td><a href='javascript:update(34)'>补假条</a></td>
                                        <td>2016-12-06</td>
                                        <td>2016-12-05</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(34)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='35'>
                                    	<td>-286</td>
                                        <td><a href='javascript:update(35)'>继续统计第二课堂人数</a></td>
                                        <td>2016-12-06</td>
                                        <td>2016-12-05</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(35)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='37'>
                                    	<td>-285</td>
                                        <td><a href='javascript:update(37)'>打印“田”字</a></td>
                                        <td>2016-12-07</td>
                                        <td>2016-12-06</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(37)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='38'>
                                    	<td>-269</td>
                                        <td><a href='javascript:update(38)'>双师申请的问题</a></td>
                                        <td>2016-12-23</td>
                                        <td>2016-12-07</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(38)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='39'>
                                    	<td>-279</td>
                                        <td><a href='javascript:update(39)'>改作业</a></td>
                                        <td>2016-12-13</td>
                                        <td>2016-12-12</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(39)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='40'>
                                    	<td>-280</td>
                                        <td><a href='javascript:update(40)'>18个教室投影方案</a></td>
                                        <td>2016-12-12</td>
                                        <td>2016-12-12</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(40)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='41'>
                                    	<td>-279</td>
                                        <td><a href='javascript:update(41)'>照片需要有个简单的介绍</a></td>
                                        <td>2016-12-13</td>
                                        <td>2016-12-12</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(41)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='42'>
                                    	<td>-278</td>
                                        <td><a href='javascript:update(42)'>班费整理</a></td>
                                        <td>2016-12-14</td>
                                        <td>2016-12-12</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(42)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='43'>
                                    	<td>-275</td>
                                        <td><a href='javascript:update(43)'>红布，盆，垫子，酒杯，托盘，酒壶</a></td>
                                        <td>2016-12-17</td>
                                        <td>2016-12-12</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(43)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='45'>
                                    	<td>-278</td>
                                        <td><a href='javascript:update(45)'>年度总结</a></td>
                                        <td>2016-12-14</td>
                                        <td>2016-12-13</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(45)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='46'>
                                    	<td>-278</td>
                                        <td><a href='javascript:update(46)'>还激光笔</a></td>
                                        <td>2016-12-14</td>
                                        <td>2016-12-13</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(46)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='47'>
                                    	<td>-277</td>
                                        <td><a href='javascript:update(47)'>周四下午带3名同学投票，周五下午5名同学参加教师评价</a></td>
                                        <td>2016-12-15</td>
                                        <td>2016-12-14</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(47)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='48'>
                                    	<td>-274</td>
                                        <td><a href='javascript:update(48)'>补完班主任工作手册</a></td>
                                        <td>2016-12-18</td>
                                        <td>2016-12-14</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(48)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='49'>
                                    	<td>-276</td>
                                        <td><a href='javascript:update(49)'>改题</a></td>
                                        <td>2016-12-16</td>
                                        <td>2016-12-15</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(49)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='50'>
                                    	<td>-274</td>
                                        <td><a href='javascript:update(50)'>审国旗讲话</a></td>
                                        <td>2016-12-18</td>
                                        <td>2016-12-16</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(50)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='51'>
                                    	<td>-273</td>
                                        <td><a href='javascript:update(51)'>通知停课所有第二课堂</a></td>
                                        <td>2016-12-19</td>
                                        <td>2016-12-16</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(51)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='52'>
                                    	<td>-273</td>
                                        <td><a href='javascript:update(52)'>6节本班听课记录</a></td>
                                        <td>2016-12-19</td>
                                        <td>2016-12-16</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(52)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='53'>
                                    	<td>-272</td>
                                        <td><a href='javascript:update(53)'>排课更改</a></td>
                                        <td>2016-12-20</td>
                                        <td>2016-12-19</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(53)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='55'>
                                    	<td>-269</td>
                                        <td><a href='javascript:update(55)'>投影采购相关事项</a></td>
                                        <td>2016-12-23</td>
                                        <td>2016-12-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(55)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='56'>
                                    	<td>-268</td>
                                        <td><a href='javascript:update(56)'>选课，买奖状</a></td>
                                        <td>2016-12-24</td>
                                        <td>2016-12-23</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(56)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='57'>
                                    	<td>-266</td>
                                        <td><a href='javascript:update(57)'>唐娅妮奖品</a></td>
                                        <td>2016-12-26</td>
                                        <td>2016-12-25</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(57)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='58'>
                                    	<td>-266</td>
                                        <td><a href='javascript:update(58)'>唐亚妮，陈立萍，冉芳，蔡霞，李兴健，杨练，班费</a></td>
                                        <td>2016-12-26</td>
                                        <td>2016-12-26</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(58)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='59'>
                                    	<td>-266</td>
                                        <td><a href='javascript:update(59)'>3d max</a></td>
                                        <td>2016-12-26</td>
                                        <td>2016-12-26</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(59)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='60'>
                                    	<td>-265</td>
                                        <td><a href='javascript:update(60)'>给付中第二课堂建议</a></td>
                                        <td>2016-12-27</td>
                                        <td>2016-12-27</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(60)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='61'>
                                    	<td>-265</td>
                                        <td><a href='javascript:update(61)'>第二课堂优秀名单</a></td>
                                        <td>2016-12-27</td>
                                        <td>2016-12-27</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(61)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='62'>
                                    	<td>-251</td>
                                        <td><a href='javascript:update(62)'>订书机和订书钉用于教案装订</a></td>
                                        <td>2017-01-10</td>
                                        <td>2017-01-10</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(62)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class="danger gradeA" id='63'>
                                    	<td>-202</td>
                                        <td><a href='javascript:update(63)'>补档案材料</a></td>
                                        <td>2017-02-28</td>
                                        <td>2017-02-19</td>
                                        <td>3</td>
                                    	<td><a href='javascript:del(63)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='64'>
                                    	<td>-202</td>
                                        <td><a href='javascript:update(64)'>班主任手册和学生考勤册填写</a></td>
                                        <td>2017-02-28</td>
                                        <td>2017-02-19</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(64)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='65'>
                                    	<td>-211</td>
                                        <td><a href='javascript:update(65)'>清理人数并报群</a></td>
                                        <td>2017-02-19</td>
                                        <td>2017-02-19</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(65)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='66'>
                                    	<td>-206</td>
                                        <td><a href='javascript:update(66)'>身份证打卡和指纹打卡</a></td>
                                        <td>2017-02-24</td>
                                        <td>2017-02-19</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(66)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='67'>
                                    	<td>-208</td>
                                        <td><a href='javascript:update(67)'>寝室人员填满</a></td>
                                        <td>2017-02-22</td>
                                        <td>2017-02-19</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(67)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='68'>
                                    	<td>-202</td>
                                        <td><a href='javascript:update(68)'>心理健康、恋爱和性教育</a></td>
                                        <td>2017-02-28</td>
                                        <td>2017-02-19</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(68)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='69'>
                                    	<td>-206</td>
                                        <td><a href='javascript:update(69)'>向领导反应第四周就业课程问题</a></td>
                                        <td>2017-02-24</td>
                                        <td>2017-02-22</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(69)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class=" gradeA" id='70'>
                                    	<td>-192</td>
                                        <td><a href='javascript:update(70)'>第四周的就业指导课</a></td>
                                        <td>2017-03-10</td>
                                        <td>2017-03-03</td>
                                        <td>0</td>
                                    	<td><a href='javascript:del(70)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                    <tr class="danger gradeA" id='71'>
                                    	<td>-7</td>
                                        <td><a href='javascript:update(71)'>招人，装修，备课，补齐学生档案，编写信息化系统</a></td>
                                        <td>2017-09-11</td>
                                        <td>2017-09-04</td>
                                        <td>3</td>
                                    	<td><a href='javascript:del(71)' class='glyphicon glyphicon-minus-sign' role='menuitem' tabindex='-1' style='color:red;'></a></td>                                    </tr>
                                	                                </tbody>
                            </table>
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
             </div>
        </div>
        <!-- /#page-wrapper -->
  <div class="modal fade" id="m">
  	<div class="modal-dialog" style="width:350px;">
  		<div class="modal-content">
  			<div class="modal-header">
  				<h4 class="modal-title btn-success">添加待办事项</h4>
  			</div>
  			<form  id="form">
  			<div class="modal-body">
  					<fieldset>
  						<div class="form-group">
  							<label>内容</label>
  							<input type="text" id="content" name="content" class="form-control" placeholder="内容限定200字" required>
  						</div>
  						<div class="form-group">
  							<label>截止日期</label>
  							<input type="text" id="btime" name="btime" class="form-control" placeholder="点击获取" required readonly >
  						</div>
  						<div class="form-group">
  							<label>事件等级</label>
  							<div>
  								<label><input type="radio" value="0" name="level" id="level0">0完成</label>&nbsp;
  								<label><input type="radio" value="1" name="level" id="level1" checked>1普通</label>&nbsp;
  								<label><input type="radio" value="2" name="level" id="level2">2重要</label>&nbsp;
  								<label><input type="radio" value="3" name="level" id="level3" >3紧急</label>
  							</div>
  						</div>
  					</fieldset>
  			</div>
  			<div class="modal-footer" >
  				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  				<button type="submit" class="btn btn-primary">保存</button>
  			</div>
  			</form>
  		</div>
  	</div>
  </div>
  
  <div class="modal fade" id="m1">
  	<div class="modal-dialog" style="width:350px;">
  		<div class="modal-content">
  			<div class="modal-header">
  				<h4 class="modal-title btn-success">修改待办事项</h4>
  			</div>
  			<form  id="form1">
  			<div class="modal-body">
  					<fieldset>
  						<div class="form-group">
  							<label>内容</label>
  							<input type="text" id="content1" name="content" class="form-control" placeholder="内容限定200字" required>
  						</div>
  						<div class="form-group">
  							<label>截止日期</label>
  							<input type="text" id="btime1" name="btime" class="form-control" placeholder="点击获取" required readonly >
  						</div>
  						<div class="form-group">
  							<label>事件等级</label>
  							<div>
  								<label><input type="radio" value="0" name="level1" id="level0">0完成</label>&nbsp;
  								<label><input type="radio" value="1" name="level1" id="level1" checked>1普通</label>&nbsp;
  								<label><input type="radio" value="2" name="level1" id="level2">2重要</label>&nbsp;
  								<label><input type="radio" value="3" name="level1" id="level3" >3紧急</label>
  							</div>
  						</div>
  					</fieldset>
  			</div>
  			<div class="modal-footer" >
  				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
  				<button type="submit" class="btn btn-primary">保存</button>
  				<input type="hidden" name="id" id="id" value="">
  			</div>
  			</form>
  		</div>
  	</div>
  </div>
        <!-- DataTables JavaScript -->
    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="sb2/vendor/metisMenu/metisMenu.min.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="sb2/dist/js/sb-admin-2.js"></script>

    <script src=js/jquery.xxfset.js></script>
    <script src=js/jquery.form.js></script>
    <script src=js/app.js></script>
<script type="text/javascript">
    var navObj={
    		setting:function(){
    			var str="原密码：<input type='password' name='sys_ypwd' id='sys_ypwd'><br><br>新密码：<input type='password' name='sys_xpwd' id='sys_xpwd'><br><br>";
    			str+="<button class='btn btn-info btn-xs'  id='sys_yes'>确定</button>&nbsp;&nbsp;<button class='btn btn-default btn-xs'  id='sys_close'>取消</button>";
    			$.xcontent(str,function(){
    				$("#sys_close").click(function(){
    					$("#XPOPUPCONTENTC").remove();
    					$("#XPOPUPCONTENT").remove();
    				});
    				$("#sys_yes").click(function(){
    					$ymm=$("#sys_ypwd").val();
    					$xmm=$("#sys_xpwd").val();
    					if($ymm.length<1||$xmm.length<1){
    						$.xalert("信息不能为空！");
    						return;
    					}else{
    						$.xloading(1);
    						$.post($.gu("setting"),{ymm:$ymm,xmm:$xmm,type:'setting'},function(data){
    							$.xloading(0);
    							if(data==0){
    								$.xalert("原密码错误，请重试！");
    							}else if(data==1){
    								alert("密码更新成功，请重新登陆！");
    								location.href=$.gu("out");
    							}else{alert(data);}
    						});
    					}
    				});
    			});
    		},
    		userinfo:function(){
    			var str="真实姓名：<input type='text' name='sys_rname' id='sys_rname' value='徐秀峰'><br><br>";
    			str+="<button class='btn btn-info btn-xs'  id='sys_yes'>确定</button>&nbsp;&nbsp;<button class='btn btn-default btn-xs'  id='sys_close'>取消</button>";
    			$.xcontent(str,function(){
    				$("#sys_close").click(function(){
    					$("#XPOPUPCONTENT").remove();$("#XPOPUPCONTENTC").remove();
    				});
    				$("#sys_yes").click(function(){
    					$rname=$("#sys_rname").val();
    					if($rname.length<2){
    						$.xalert("信息请填写完整！");
    						return;
    					}else{
    						$.xloading(1);
    						$.post($.gu("setting"),{rname:$rname,type:'userinfo'},function(data){
    							$.xloading(0);
    							if(data==0){
    								$.xalert("信息修改失败，请重试！");
    							}else if(data==1){
    								alert("更新成功！");
    								window.location.reload();
    							}else{alert(data);}
    						});
    					}
    				});
    			});
            }
    }
</script>
</body>

</html>    <script src="sb2/vendor/datatables/js/jquery.dataTables.js"></script>
    <script src="sb2/vendor/datatables-plugins/dataTables.bootstrap.min.js"></script>
    <script src="sb2/vendor/datatables-responsive/dataTables.responsive.js"></script>
    <script>
    $(document).ready(function() {
        $("#btime").click(function(){$(this).xrili();});
        $("#btime1").click(function(){$(this).xrili();});
        $('#dataTables-example').DataTable({
            responsive: true,
            "aaSorting": [[ 4, "desc" ]]
        });
        var options = {
                type: 'post',
                data:{'type':'ins'},
    		    url:	$.gu("toDoPrivate"),
    		    beforeSubmit:function(){
    		    	if($("#content").val().length==0||$("#btime").val().length<10||$("#content").val().length>200){
    		    		$.xalert("请正确填写信息！");
    		    		return false;
    		    	}
    		    	$.xloading(1);
    		    },
    		    success: function(data) {
    		    	$.xloading(0);
    		    	if(data==0){
    			    	$.xalert('该事件已存在，无需再添加！');
    		    	}else if(data==1){
    		    		window.location.reload();
    		    	}else{
    		    		alert(data);
    		    	}
    		    } };
    	$('#form').ajaxForm(options);

    	var options1 = {
    			type: 'post',
                data:{'type':'upd'},
    		    url:	$.gu("toDoPrivate"),
    		    beforeSubmit:function(){
    		    	if($("#content1").val().length==0||$("#btime1").val().length<10||$("#content1").val().length>200){
    		    		$.xalert("请正确填写信息，内容200字内！");
    		    		return false;
    		    	}
    		    	$.xloading(1);
    		    },
    		    success: function(data) {
    		    	$.xloading(0);
    		    	if(data==0){
    			    	$.xalert('更新失败！');
    		    	}else{
    		    		window.location.reload();
    		    	}
    		    } };
    	$('#form1').ajaxForm(options1);
    });
    function append(){
    	$("#m").modal({backdrop:"static",keyboard:false,show:true}).on("hide.bs.modal",function(){$("#form").resetForm();});
    }
    function update(id){
    	$("#form1").resetForm();
    	$("#m1").modal({backdrop:"static",keyboard:false,show:true});
    	$("#id").val(id);
    	$("#content1").val($("#"+id+" td:eq(1)").text());
    	$("#btime1").val($("#"+id+" td:eq(2)").text());
    	$("input[name='level1'][value='"+$("#"+id+" td:eq(4)").text()+"']").attr("checked",true); 
    }
    function del(id){
		$.xconfirm("删除后无法恢复，确定要删除此条记录么？",function(data){
 			if(data){
				$.xloading(1);
				$.post($.gu("toDoPrivate"),{type:'del',id:id},function(data1){
					if(data1==0){
						$.xloading(0);
						$.xalert("删除失败");
					}else{
						window.location.reload();
					}
				}); 
			} 
		});
    }
    </script>